package com.auto.learning.bean;

import java.io.Serializable;

import com.auto.learning.store.core.BaseModel;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "tb_banner")
public class BannerItem extends BaseModel<BannerItem, Integer> implements Serializable {
	/**
	 * 序列化Id
	 */
	private static final long serialVersionUID = 1L;

	@DatabaseField(canBeNull = false, generatedId = true)
	protected int generatedId;
	@DatabaseField
	protected int id;
	@DatabaseField
	protected String bannerImg;
	@DatabaseField
	protected int type;

	private Banner_H5 h5Model;
	private VideoBean hofModel;
	private BookBean bookModel;
	private BookListModel bookListModel;

	public BookListModel getBookListModel() {
		return bookListModel;
	}

	public void setBookListModel(BookListModel bookListModel) {
		this.bookListModel = bookListModel;
	}

	public int getGeneratedId() {
		return generatedId;
	}

	public void setGeneratedId(int generatedId) {
		this.generatedId = generatedId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBannerImg() {
		return bannerImg;
	}

	public void setBannerImg(String bannerImg) {
		this.bannerImg = bannerImg;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Banner_H5 getH5Model() {
		return h5Model;
	}

	public void setH5Model(Banner_H5 h5Model) {
		this.h5Model = h5Model;
	}

	public VideoBean getHofModel() {
		return hofModel;
	}

	public void setHofModel(VideoBean hofModel) {
		this.hofModel = hofModel;
	}

	public BookBean getBookModel() {
		return bookModel;
	}

	public void setBookModel(BookBean bookModel) {
		this.bookModel = bookModel;
	}

}